<layout name='PublishedRecipe'/>

<div class="container">
    <div class="center_index">
        <div class="left">
            <div class="banner">
                <DIV id=YNews>
                    <volist name="recipeinfo" id="vo">
                    <DL>
                        <DT><A href="__APP__/Recipe/content/cid/<{$vo.recipecategoryid}>/id/<{$vo.id}>"><IMG src="__PUBLIC__/Content/RecipeArticle/Big_<{$vo.image}>"></A></DT>
                        <DD><H3 title="<{$vo.name}>">
                            <gt name="vo.name|mb_strlen='utf-8'" value="10">
                                <{$vo.name|mb_substr=0,10,"utf-8"}>...
                                <else/>
                                <{$vo.name}>
                            </gt>
                        </H3></DD>
                    </DL>
                    </volist>
                    <P id=YNIndex>
                        <volist name="recipeinfo" id="rvo">
                            <eq name="i" value="1">
                                    <A class=current href="__APP__/Recipe/content/cid/<{$rvo.recipecategoryid}>/id/<{$rvo.id}>"><{$i}></A>
                                <else/>
                                    <A href="__APP__/Recipe/content/cid/<{$rvo.recipecategoryid}>/id/<{$rvo.id}>"><{$i}></A>
                            </eq>
                        </volist>
                    </P>
                </DIV>
            </div>
            <div class="banner_wen">
                <ul>
                    <li>
                        <h2><a href="#">10 ways to do easy kids’ snack</a></h2>
                        <p><a href="#">Recipe simple to use recipe Recipe simple use </a> </p>
                        <p><a href="#">Recipe simple to use recipe Recipe simple use </a> </p>
                        <p><a href="#">Recipe simple to use recipe Recipe simple use </a> </p>
                    </li>
                    <li>
                        <h2><a href="#">10 ways to do easy kids’ snack</a></h2>
                        <p><a href="#">Recipe simple to use recipe Recipe simple use </a> </p>
                        <p><a href="#">Recipe simple to use recipe Recipe simple use </a> </p>
                        <p><a href="#">Recipe simple to use recipe Recipe simple use </a> </p>
                    </li>
                    <li>
                        <h2><a href="#">10 ways to do easy kids’ snack</a></h2>
                        <p><a href="#">Recipe simple to use recipe Recipe simple use </a> </p>
                        <p><a href="#">Recipe simple to use recipe Recipe simple use </a> </p>
                        <p><a href="#">Recipe simple to use recipe Recipe simple use </a> </p>
                    </li>
                </ul>
            </div>

            <div style="clear:both;"></div>
            <div class="whats">
                <h2 class="hang_line">What’s new</h2>
                <ul>
                    <li><a href="#"><img src="../Public/images/whats.jpg" /></a><span class="rai">Raikkonen</span> <span class="add">add a recipe</span> <span class="garlic">Garlic-Rosemary</span>		                  		<p class="time">2012-2-18</p>
                    </li>
                    <li><a href="#"><img src="../Public/images/whats.jpg" /></a><span class="rai">Raikkonen</span> <span class="add">add a recipe</span> <span class="garlic">Garlic-Rosemary</span>		                  		<p class="time">2012-2-18</p>
                    </li>
                    <li><a href="#"><img src="../Public/images/whats.jpg" /></a><span class="rai">Raikkonen</span> <span class="add">add a recipe</span> <span class="garlic">Garlic-Rosemary</span>		                  		<p class="time">2012-2-18</p>
                    </li>
                    <li><a href="#"><img src="../Public/images/whats.jpg" /></a><span class="rai">Raikkonen</span> <span class="add">add a recipe</span> <span class="garlic">Garlic-Rosemary</span>		                  		<p class="time">2012-2-18</p>
                    </li>
                    <li><a href="#"><img src="../Public/images/whats.jpg" /></a><span class="rai">Raikkonen</span> <span class="add">add a recipe</span> <span class="garlic">Garlic-Rosemary</span>		                  		<p class="time">2012-2-18</p>
                    </li>
                    <li><a href="#"><img src="../Public/images/whats.jpg" /></a><span class="rai">Raikkonen</span> <span class="add">add a recipe</span> <span class="garlic">Garlic-Rosemary</span>		                  		<p class="time">2012-2-18</p>
                    </li>
                    <li><a href="#"><img src="../Public/images/whats.jpg" /></a><span class="rai">Raikkonen</span> <span class="add">add a recipe</span> <span class="garlic">Garlic-Rosemary</span>		                  		<p class="time">2012-2-18</p>
                    </li>
                    <li><a href="#"><img src="../Public/images/whats.jpg" /></a><span class="rai">Raikkonen</span> <span class="add">add a recipe</span> <span class="garlic">Garlic-Rosemary</span>		                  		<p class="time">2012-2-18</p>
                    </li>

                </ul>
            </div>

            <div style="clear:both;"></div>
            <div class="most">
                <h2 class="hang_line">Most popular recipes</h2>
                <ul>
                    <li><a href="#"><img src="../Public/images/most_01.jpg" /></a><p><a href="#">Garlic-Rosemary</a></p> <p class="red">100000 love it</p></li>
                    <li><a href="#"><img src="../Public/images/most_01.jpg" /></a><p><a href="#">Garlic-Rosemary</a></p> <p class="red">100000 love it</p></li>
                    <li><a href="#"><img src="../Public/images/most_01.jpg" /></a><p><a href="#">Garlic-Rosemary</a></p> <p class="red">100000 love it</p></li>
                    <li><a href="#"><img src="../Public/images/most_01.jpg" /></a><p><a href="#">Garlic-Rosemary</a></p> <p class="red">100000 love it</p></li>
                    <li><a href="#"><img src="../Public/images/most_01.jpg" /></a><p><a href="#">Garlic-Rosemary</a></p> <p class="red">100000 love it</p></li>
                    <li><a href="#"><img src="../Public/images/most_01.jpg" /></a><p><a href="#">Garlic-Rosemary</a></p> <p class="red">100000 love it</p></li>
                    <li><a href="#"><img src="../Public/images/most_01.jpg" /></a><p><a href="#">Garlic-Rosemary</a></p> <p class="red">100000 love it</p></li>
                    <li><a href="#"><img src="../Public/images/most_01.jpg" /></a><p><a href="#">Garlic-Rosemary</a></p> <p class="red">100000 love it</p></li>
                </ul>
            </div>

        </div>

        <div class="right">
            <div class="calcu">
                <h2 class="right_twoh">Recipe calculator</h2>
                <div class="ca_pic">

                    <dl class="maindl_index" style="font-size: 12px;">
                        <dd style="width:100px; float: left;text-indent: 45px;margin-bottom: 5px;">Ingredient</dd>
                        <dd style="width:130px; float: left;margin-bottom: 5px;text-indent: 20px;"><span></span></dd>
                    </dl>

                    <div id="add_index">

                        <dl class="maindls_index">
                            <dt><img class="delete_index" style="float:left;position:relative;bottom:5px;cursor:pointer;margin-right:5px;width:10px;height: 10px;"src="../Public/imgs/XX.jpg" /></dt>
                            <dd><input type="text" style="width:120px;" name="main_index[]" /></dd>
                            <dd>
                                <input class="maindlshalfone_index" style="width: 40px;" type="text" name="mainamount_index[]" />
                                <select name="maindeal_index[]" class="maindlshalftwo_index">
                                </select>
                            </dd>
                            <input type="hidden" name="mainfoodsectionid_index[]" />
                            <input type="hidden" name="mainfoodcategoryid_index[]" />
                            <input type="hidden" name="mainfoodarticleid_index[]" />
                        </dl>

                        <dl class="maindls_index">
                            <dt><img class="delete_index" style="float:left;position:relative;bottom:5px;cursor:pointer;margin-right:5px;width:10px;height: 10px;"src="../Public/imgs/XX.jpg" /></dt>
                            <dd><input type="text" style="width:120px;" name="main_index[]" /></dd>
                            <dd>
                                <input class="maindlshalfone_index" style="width: 40px;" type="text" name="mainamount_index[]" />
                                <select name="maindeal_index[]" class="maindlshalftwo_index">
                                </select>
                            </dd>
                            <input type="hidden" name="mainfoodsectionid_index[]" />
                            <input type="hidden" name="mainfoodcategoryid_index[]" />
                            <input type="hidden" name="mainfoodarticleid_index[]" />
                        </dl>

                    </div>
                    <div style="text-align: center;">
                        <button style="width:150px;height:20px;margin-top: 10px;margin-left:10px;padding: 0 3px;" class="addmain_index" type="button">Add another condiment</button>
                        <button style="height:20px;margin-top: 10px;padding: 0 15px;" type="button" class="submit_index" />Calculate</button>
                    </div>
                </div>

                <div class="calculate_index">
                    <p>Nutrition calculation</p>
                    <ul>
                        <li><span class="spanone">Calories:</span><span class="spandata">0</span>g</li>
                        <li><span class="spanone">Total Fat:</span><span class="spandata">0</span>g</li>
                        <li><span class="spanone">Saturated Fat:</span><span class="spandata">0</span>g</li>
                        <li><span class="spanone">Cholesterol:</span><span class="spandata">0</span>mg</li>
                        <li><span class="spanone">Sodium:</span><span class="spandata">0</span>mg</li>
                        <li><span class="spanone">Potassium:</span><span class="spandata">0</span>mg</li>
                        <li><span class="spanone">Total Carbohydrate:</span><span class="spandata">0</span>g</li>
                        <li><span class="spanone">Dietary Fiber:</span><span class="spandata">0</span>g</li>
                        <li><span class="spanone">Sugars:</span><span class="spandata">0</span>g</li>
                        <li><span class="spanone">Protein:</span><span class="spandata">0</span>g</li>
                        <li><span class="spanone">Vitamin A:</span><span class="spandata">0</span>%</li>
                        <li><span class="spanone">Vitamin B-12:</span><span class="spandata">0</span>%</li>
                        <li><span class="spanone">Vitamin B-6:</span><span class="spandata">0</span>%</li>
                        <li><span class="spanone">Vitamin C:</span><span class="spandata">0</span>%</li>
                        <li><span class="spanone">Vitamin D:</span><span class="spandata">0</span>%</li>
                        <li><span class="spanone">Vitamin E:</span><span class="spandata">0</span>%</li>
                        <li><span class="spanone">Calcium:</span><span class="spandata">0</span>%</li>
                        <li><span class="spanone">Copper:</span><span class="spandata">0</span>%</li>
                        <li><span class="spanone">Folate:</span><span class="spandata">0</span>%</li>
                        <li><span class="spanone">Iron:</span><span class="spandata">0</span>%</li>
                        <li><span class="spanone">Magnesium:</span><span class="spandata">0</span>%</li>
                        <li><span class="spanone">Manganese:</span><span class="spandata">0</span>%</li>
                        <li><span class="spanone">Niacin:</span><span class="spandata">0</span>%</li>
                        <li><span class="spanone">Pantothenic Acid:</span><span class="spandata">0</span>%</li>
                        <li><span class="spanone">Phosphorus:</span><span class="spandata">0</span>%</li>
                        <li><span class="spanone">Riboflavin:</span><span class="spandata">0</span>%</li>
                        <li><span class="spanone">Selenium:</span><span class="spandata">0</span>%</li>
                        <li><span class="spanone">Thiamin:</span><span class="spandata">0</span>%</li>
                        <li><span class="spanone" style="border:none;">Zinc:</span><span class="spandata">0</span>%</li>
                    </ul>
                </div>

            </div>

            <div class="season">
                <h2 class="right_twoh">On season</h2>
                <div class="sea_nav">
                    <ul>
                        <li onclick="javascript:menu(1)" id="b1" class="b">Fruit</li>
                        <li onclick="javascript:menu(2)" id="b2">Vegetable</li>
                        <li onclick="javascript:menu(3)" id="b3">Seafood</li>
                    </ul>
                </div>
                <div class="sea_pic" id="a1" style="display:block;">
                    <ul>
                        <volist name="foodinfof" id="vof">
                            <li>
                                <a href="__APP__/Food/foodinfo/sid/<{$vof.categoryid}>/id/<{$vof.id}>">
                                <img src="__PUBLIC__/Content/FoodArticle/thumb_<{$vof.image}>" /></a>
                                <p><a title="<{$vof.name}>" href="__APP__/Food/foodinfo/sid/<{$vof.categoryid}>/id/<{$vof.id}>">
                                    <gt name="vof.name|mb_strlen='utf-8'" value="10">
                                        <{$vof.name|mb_substr=0,10,"utf-8"}>
                                        <else/>
                                        <{$vof.name}>
                                    </gt>

                                </a></p>
                            </li>
                        </volist>
                    </ul>
                </div>
                <div class="sea_pic" id="a2" style="display:none;">
                    <ul>
                        <volist name="foodinfov" id="vov">
                            <li>
                                <a href="__APP__/Food/foodinfo/sid/<{$vov.categoryid}>/id/<{$vov.id}>">
                                    <img src="__PUBLIC__/Content/FoodArticle/thumb_<{$vov.image}>" /></a>
                                <p><a title="<{$vov.name}>" href="__APP__/Food/foodinfo/sid/<{$vov.categoryid}>/id/<{$vov.id}>">
                                    <gt name="vov.name|mb_strlen='utf-8'" value="10">
                                        <{$vov.name|mb_substr=0,10,"utf-8"}>
                                        <else/>
                                        <{$vov.name}>
                                    </gt>

                                </a></p>
                            </li>
                        </volist>
                    </ul>
                </div>
                <div class="sea_pic" id="a3" style="display:none;">
                    <ul>
                        <volist name="foodinfos" id="vos">
                            <li>
                                <a href="__APP__/Food/foodinfo/sid/<{$vos.categoryid}>/id/<{$vos.id}>">
                                    <img src="__PUBLIC__/Content/FoodArticle/thumb_<{$vos.image}>" /></a>
                                <p><a title="<{$vos.name}>" href="__APP__/Food/foodinfo/sid/<{$vos.categoryid}>/id/<{$vos.id}>">
                                    <gt name="vos.name|mb_strlen='utf-8'" value="10">
                                        <{$vos.name|mb_substr=0,10,"utf-8"}>
                                        <else/>
                                        <{$vos.name}>
                                    </gt>

                                </a></p>
                            </li>
                        </volist>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    </div>

<div id="waitmain" style="display:none;">

    <dl class="maindls_index">
        <dt><img class="delete_index" style="float:left;position:relative;bottom:5px;cursor:pointer;margin-right:5px;width:10px;height: 10px;"src="../Public/imgs/XX.jpg" /></dt>
        <dd><input type="text" style="width:120px;" name="main_index[]" /></dd>
        <dd>
            <input class="maindlshalfone_index" style="width: 40px;" type="text" name="mainamount_index[]" />
            <select name="maindeal_index[]" class="maindlshalftwo_index">
            </select>
        </dd>
        <input type="hidden" name="mainfoodsectionid_index[]" />
        <input type="hidden" name="mainfoodcategoryid_index[]" />
        <input type="hidden" name="mainfoodarticleid_index[]" />
    </dl>

</div>
